package com.hrsoft.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrsoft.common.utils.PageUtils;
import com.hrsoft.modules.sys.entity.SysDepartmentEntity;
import com.hrsoft.modules.sys.dto.DepartmentTreeDto;

import java.util.List;
import java.util.Map;

/**
 * 部门管理
 *
 * @author garfield.yue
 * @email yuedefeng101@163.com
 * @date 2020-04-23 22:41:38
 */
public interface SysDepartmentService extends IService<SysDepartmentEntity> {

    PageUtils queryPage(Map<String, Object> params);
    List<DepartmentTreeDto> getTreeList (Integer parentId);
}

